removing values and / when useless