fix postaggregations to be chainable
remove trailing whitespaces/tabs