cleanup for slides