remove unused stuff from header