fixed #202 and made avail tab show current state for avail from