fix small isses in header and footer