fixing bug with AM/PM text options