fix buffer file may not in project