use scrpage2 or scrlayer-scrpage instead of fancyhdr, which works better with koma...