fix string: comparison of signed and unsigned integer