make error messages persistable