Python 3 support
fix place recording