% conversion for header and footer