removing double rtrim