clean up of init