repaired the IS_EQ
apply works