fixed a problem for creating PreAggregate objects