fixed booking and waitinglist. both functions work as intended