fix Bus error on ARM