make map object easier to copy