fixed alignment of error messages