fixed doc warnings and errors