fix preview