Bibliography after Appendix, but supposed to be not PART of it

I'm using document class scrbook. I want to put my bibliography after appendix (in source this starts with `\appendix`), but in my toc that is visible when I open up the generated PDF file, it is a part of the appendix. Is there a way to make it the same level as appendix but not create a whole new part in the document (i.e. manipulate only the toc?). Thank you in advance!

-

One should distinguish between the Table of Contents and the bookmarks: the former is part of the printed document, the latter is a property of the PDF previewer. From what you say the problem seems to be with the bookmarks.

Add `\usepackage{bookmark}` after loading `hyperref` (it's one of the few packages that should be called so) and, just before the bibliography in your document, say

``````\bookmarksetup{startatroot}
``````
-

``````\clearpage %Should be added directly above bibliography, if 1 sided
`\cleardoublepage` would be better (with `\clearpage` the page number might be off by one when `twoside` is used). – egreg Mar 19 '12 at 7:42
Yes, this adds the part-level `bibliography` entry, but also a subentry `bibliography` because the bibliography creates its own TOC entry... – Eric Mar 19 '12 at 8:46