Fixed am/pm problem.