fixed input focus problem