Fixed error formatting