fixed keyboard focus bug.