improve viewFavoriteSnippets