# Make bibliography not part of previous chapter

I'm writing my thesis and I have a problem with references:

The references span across two pages. On the top of the second page there is a header (that appears on every page where a new chapter does not begin). The header informs a reader about the current chapter he/she is reading. But in the references it says "Conclusion", which is my last chapter. I would like this not to appear in the references (or say "References"). There are some other chapters after References, that I would like to keep their headers (\appendix).

This is the code to create references (bibtex):

\bibliographystyle{plain}
\bibliography{thesisrefs}


\def\ps@thesisheadings{%
\def\chaptermark##1{%
\markright{%
\ifnum\c@secnumdepth >\m@ne
\thechapter.\ %
\fi ##1}}
\let\@oddfoot\@empty
\hfil{\sc\rightmark}}\vskip 4pt\hrule}}
\if@twoside
{\sc\rightmark}\hfil}\vskip 4pt\hrule}}
\else
\fi
\def\@oddfoot{\hfil\PageFont\thepage}
\if@twoside
\def\@evenfoot{\PageFont\thepage\hfil}%
\else
\let\@evenfoot\@oddfoot
\fi
}

-
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. – Marco Daniel May 19 '12 at 11:59
Please indicate how the References section/chapter is generated: via BibTeX (or biblatex) or entirely manually? – Mico May 19 '12 at 12:49
Here are the files you'll probably need to compile an example...I'm unable to make it a better way – Bato May 19 '12 at 13:03
References section is generated using BibTeX – Bato May 19 '12 at 13:09

Evidently your bibliography command doesn't update the running heads. Judging from your code, you just need to call \chaptermark{References} (manually or automatically) when the bibliography starts.
Presumably this doesn't happen because your bibliography is a section, not a chapter. If you don't like the idea of calling \chaptermark for a section, just call \markright directly.
The \markright did the trick. Thank you very much. – Bato May 19 '12 at 14:00