fix ref to preview path