Fix no file bug