fixed crash on assign tag w/o client