fix task editing