remove unnecessary character