fix minor error formatting mistakes