Bug Fixes in the mapFitter