Fix error when  does not exist