Fix error formatting