fix typo in compute