comparison of string with integer failure