Bugfix python3 map support