remove magic strings