fixed a bug on project view