cleaning up cards object changing some connection statics