removed lastlatitude + added correct pd patch.