fixed broken snippets