replaces header md