fix refactor from dialogue worker to schedule manager + remvoe import in dialogue worker