fix Issue 12953 - Wrong alignment number in error messages