fix bug when replacing maps with primitive values
bump v0.3.2