fixes for raspberry