fixed indentation of dump function