fix output (broken by changes in parameter building)