solved sigbus bug