fixed preview not showing