no need nullif in agg def
fix issue #27