fixed changing latlong var issue