Fixed some warnings

Added options and fixed options to get ris of fancyhdr warnings.