finish preview