removing unncessary characters