fix a reservation processing bug