corrected variable tags
define tags variable