add flowTaskError
removed unnecessary require