fix altitude issue