3.0 fix typos and build warning

- correct some double backslashes
- correct wrong indentation
- correct missing backtick