change the altitude to be always greater or equal than 0