replace snippets_path to history-back