Reset 'cpo' before creating maps

Fixes #90