clean up initialization