Australia gets out of a jam