fixed an issue with the key