fix not piping through the parameters.