fix errors in header