Fixing bug in genome import and in mapping adjustment functions