fixed for preview