bugfix in the User.mark_tag function