fix no file error