fix aggregate module