fixed dup not taking error messages with it, and not displaying them on validation errors