fix task adding