fix a bug in eql