add errors to partials