fix typo calulate