isAvailable fix