When choosing the dawnguard, I have being doing a mission that requires the moth priest to look at the elder scrolls. But when entering the castle the priest keeps attacking everyone and I can't speak to him, does anyone who now to fix this without restarting the game as I'm level 56 and have worked hard

.
Thank in advance.