removing extra character