input key check

input key check