fixed setAvailability comment