fix bug for that error happen when new project