Properly close tags in the project file