fix compiler errors
improve no aggregates message
Merge pull request #1258 from dennishendriksen/master

Improve no aggregates message