Fix #108, support multiple aggregate funcions