fixes for Index heading, References margin headings