fixed bug causing a one-time crash on the very first installation startup