Fix key mismatch issue.