auto accept the key