remove extra character