Fixed problems for elevator status array