improve input identify