cleaning up the header