Params fix

Key doesn't reset 
Maybe it would be better to print the usage msg if the key is unkown