fix am pm style settings