Fixed an alternative/available bug in the controller