add indexes to taggings
remove trainling whitespaces
run rubocop on helpers