fix task from string parser