fixing some preview things