fix problem on project edit