Fix typo in function arguments introduced by previous patch