more reparse task code