fix header/footer actions