Fixed errors in the raspi modal