remove a bunch of unnecessary snippets