force validation error to string