removing magic strings