fix postback of am/pm value