Bugfix for altitude