bug fix in is()