fixed bug when user changed and projects are loaded