Possibly avoiding crash