fix broken summary output