fix the output filename in the map
fix misleading argument name