fix exceptions on project import