Fixed header and footer text issue