fix error elevator.c