string compare fix