fixes for rpi