fix crash when edit other project