Fix availability variable