fixes condition of availability time check