key length check rediced