remove semicolons from snippets