propagate aggregation errors properly
fix #101. Support expressions in aggregates