fix some issues with the task recipe