removing core headers