fixing compiling issues in Dimensions Aggregator