fix aggregation bug (floating point value...)