moved object initialization to prevent awkward crash
moved object initialization to prevent awkward crash

AlaricChan/on-tasks,AlaricChan/on-tasks,nortonluo/on-tasks,nortonluo/on-tasks,bbcyyb/on-tasks,bbcyyb/on-tasks