changed how saves error messages work