Fixing the mapping document