Fixed immediate crash on launch