refactor: remove unneeded condition at changing availability