fix project edit bug