fix recent crash
er, pretend you didnt see that