correct typo in calculating revenue