modifiy snippets response