removing extra symbols