fix a bug in in statement