fix preview margins