Fix header and slug bugs