added a hotfix to not crash on startup if didn't finish running from last time