Fix: key missed when mapping contains more than one key-value pair