fix reservation processing bug