remove debug headers