fix for output table - does not work yet (params is not with the real call params)