fixed crash on first time install for RPi