[feature] adjust for ts.lua