fixed device search by pressing enter