fixed typo in key error message.