have to remove header and footer injected stuff