Remove unnecessary characters in UT