clean up some preview code