connection to cube clean up