Fix 12 am/pm bug