corrected availability toggle