show comparison of strings, fix some bugs