fixing problem with header overlap