bug fix

fix an condition check for strcmp