get rid of useless output.
bug fix: when operate multi-keys, if some keys is locking,while some kyes is trans-done, the command will return twice.