strcmp return value fix