fixed bugs with sunday enumeration and check availability