Fix Errors when project can't be opened