fix string to compare