simplify placeholder_map_put_helper