fix no file bug