Remove unused variable overlayInstance