pdf: make header not destroy grid