tweak to auto type=text