attempt to fix a rare crash