Replace another trimRight with trim