24/8/2013

fixed the error of not showing green node by replacing open connection
outside the for loop