fix keyboard focus issue