Added checks for metadata during opening project file