Fix argument name of  map function