some changes to fix pipanel on the raspberry