prevent ot crashing