fixed the validation error occuring when we were generating the key with a callback; chronology problem