Fix key debug output