fixes for changing snippets