implemented workaround for isEquals assertions