Fix bug, empty error section showing up when no errors