add error handler for empty isAsking and isBooking