fix for working multiprocess
Merge pull request #33 from nwlunatic/fix_multiprocess

fix multiprocess