fix a rare crash
fix a rare crash

uklauer/sox,CaptainHayashi/sox,davel/sox,davel/sox,Motiejus/sox,uklauer/sox,pcqpcq/sox,Motiejus/sox,Distrotech/sox,Distrotech/sox,jacksonh/sox,jacksonh/sox,jacksonh/sox,CaptainHayashi/sox,MageSlayer/sox,mhartzel/sox_personal_fork,cbagwell/sox,MageSlayer/sox,uklauer/sox,mhartzel/sox_personal_fork,uklauer/sox,jacksonh/sox,Motiejus/sox,cbagwell/sox,mhartzel/sox_personal_fork,Motiejus/sox,CaptainHayashi/sox,pcqpcq/sox,MageSlayer/sox,Distrotech/sox,davel/sox,pcqpcq/sox,cbagwell/sox,mhartzel/sox_personal_fork,pcqpcq/sox,Distrotech/sox,MageSlayer/sox,davel/sox,cbagwell/sox,MageSlayer/sox,CaptainHayashi/sox