to fix preview issue in chrome