fix trans bug