deinit submodules (to save space temporarily)