fix runClose key bug.