fix test fail in doctest
debug switch option
web: use attribute "size" for tag select