remove blank line
fix some snippets