fix RPi version bugs