text comparison fix