Error message fix to string instead of an hash