fix task directory