hopefully fix preview a bit