fixes of exception message formats and UL -> UWORD