changed comparison of string