removing an extra character