select name by pressing enter