Fixed crash on raspberry pi