header and footer improvements