Bug in method is()