Box 12, code D is elective deferrals -- it is the amount that you agreed to reduce your salary by, so that your employer would contribute it to the 401(k). It does not include any free money from the employer (match or free contributions).
If your W-2 is wrong, you need to get a corrected W-2 from your employer.