Fixed aggregate bug, the data hub aggregate function was being called 2x, once in tMain and once again inside data stats(), removed the call from tmain