repaired formatting exception