values aggregation bugfix