fix erb snippets