fixed sec versus AMPM problem