fix ex snippets