rename has_tags to tags
modify small