fixed #34 RESTfull connection