fix bug comparison

bug in string compare