fixed no main error on altitude call