doc library not loading when navbar not reloaded