Raspberry pi fixes