fix for header and footer size