Small fix for agregate