fixing altitude editing