Trying to fix the connections problem