refactor tag cloud