Ref #3175 : fix typo in function call