minor changes in map initialization in bulkCreate