fix task controller