fixing the reservation controller