fix preview box and content var