fix errors of header