fix project and open files problem