Fix altimeter bug