fix dump output