fixed double text units bug