fix bug tab focus.