prevent ot crashing
Merge pull request #308 from themighty1/stable-client

prevent ot crashing