corrected refactoring issues from changing lattitude to latitude in models.