defect fix on preview mode