issue#17: Considering header and footer.