clean up tag.rb