clean up and lockdown