cleanup for bootstrap