commit styling for error message