cleans up needless apr headers