made availability filter work