fix for params via templated structure