fix string to task issue