HotFix: Keeps the project type when errors are encountered