fix preview button