connection with server Fixes #2