fix preview on new tab