fix typo in function call