whitespace
fix aggregate calculation