fix pickle load