fix to crash from yawn