fix typos, the code compiles without errors or warnings