changed error string in compare