corrected crash when displaying 12h clock