fix isequal error