fix worksmgr