fixed error removing available attribute