diff --git a/src/components/CanvasAnnotations.js b/src/components/CanvasAnnotations.js
index 46ea83a18d360bedaddbf7c74cdfc09b0a02cc3a..c0867e98141b91a84917ef196cbd599f54f4454d 100644
--- a/src/components/CanvasAnnotations.js
+++ b/src/components/CanvasAnnotations.js
@@ -108,12 +108,6 @@ export class CanvasAnnotations extends Component {
 
     const annotationCount = annotations.length;
 
-    console.log('CanvasAnnotations containerRef : ', containerRef);
-
-    if (!containerRef.current) {
-      return <div>containerRef is null</div>;
-    }
-
     return (
       <>
         <Typography sx={{ paddingLeft: 2, paddingRight: 1, paddingTop: 2 }} variant="overline">
diff --git a/src/components/ScrollTo.js b/src/components/ScrollTo.js
index cb5856953af199d1f9f9d88514cbfe893b5a1ee1..bd36a272f26744a927fed9d6e7cc6dc23d89aa93 100644
--- a/src/components/ScrollTo.js
+++ b/src/components/ScrollTo.js
@@ -15,7 +15,7 @@ export class ScrollTo extends Component {
 
   /** */
   componentDidMount() {
-    const { scrollTo, containerRef } = this.props;
+    const { scrollTo } = this.props;
     if (!scrollTo) return;
 
     this.scrollToElement();
diff --git a/src/containers/CanvasAnnotations.js b/src/containers/CanvasAnnotations.js
index b8d4c8b7ec8eb62e39972a29b6fd0580b575fbe7..613c2d3a7378736ede8370e36f0c8473990aaa4b 100644
--- a/src/containers/CanvasAnnotations.js
+++ b/src/containers/CanvasAnnotations.js
@@ -51,10 +51,17 @@ const mapDispatchToProps = {
   selectAnnotation: actions.selectAnnotation,
 };
 
+// const enhance = compose(
+//   withRef(),
+//   withTranslation(),
+//   connect(mapStateToProps, mapDispatchToProps, null, { forwardRef: true }),
+//   withPlugins('CanvasAnnotations'),
+// );
+
 const enhance = compose(
   withRef(),
   withTranslation(),
-  connect(mapStateToProps, mapDispatchToProps, null, { forwardRef: true }),
+  connect(mapStateToProps, mapDispatchToProps),
   withPlugins('CanvasAnnotations'),
 );