fix a bug for using trans list to limit output