fixed up altitude
fixed typo in code