fix preview display