clean up for bootstrap