fix bug on map with multiple arguments