Fix error in available actions stuff