add autofocus
trim the input value & filter