Attempted a fix for a strange connection error