Fix: handle invalid mapped key name