Fix the replacement keys.