fix am/pm style