remove header dependency on apr