2014.08.23

Fix connection function