Fix: retrieve error messages