fix bug while where condition is 'is'