fix focus issue