fix task duplication