remove extra chars