syntax highlighting and code typo fix