remove wayward markup