turns out I should have just been sanitizing the output for the one attribute instead of copying the issue.