Fixing error while opening a data mapper diagram