- fixed bug where the preview element is still needed to trigger the hook