removed console.log and gain focus input field