map ,c to remove unwanted spaces