string comparison minor fix