fix #99
core: fix pickle load on python3