moved better errors to dev group
added column aliases for count and sum