Fixed bug with available