fix azimuth bug