remove useless chars