fixed new project/load project bugs