Fix bug with old preview when insert