fixing extrange behaviur on RPi