closes issue #20 removing empty snippets