remove unnecessary headers