fix am/pm format