fix notebooks sync issue
temp fix for local attachments preview.