preview fixes