correction of header and indentations