fix preview click