remove extra blank line for snippets