fix pig task command bug.