Fixing player agent connection