fix task complete