cleanup main header