fixed issues regarding lat/lon