fixed tag disappearing bug