remove unused parts of header