restored getAvailability and fixed getbusinesshours