Fix project file errors