fix typo in return value