Fix type of availible to available