fixed wrong key name in debug print statement