use variable  everywhere in CheckConnection script
remove useless Size function