bugfix: remove class only if tagInput defined