Fixing problem on getting the SID with some servers