fix crash on app launch and correct cpu set on boot