make conncection now works, fixes #1