fix: prevent matching of pointers when using string representations