if the user define a wrong key, the assert not working but maybe ignored
if the user define a wrong key, the assert not working but maybe ignored