beginning cleanup for checkout