bugfix and extension for lychee_tag.rb plugin