error for bad number of parameters when making a map