preview cleanup