remove unnecessary char