fix not working for Rpi

fix not working for Rpi