fix error message alignment and wrap.