fix regression with wrong parameter name