fix error for collection mapping