Fixed bug from avalaible