fix bug where lat and lng were switched