remove uncessary characters