fix rest-tx dep problem