fixing ampersand errors for validation