fix string compare