fix the unite trailing space display issue