get current doc