few small fixes in connection
small Makefile update