bugfix socket address comparationh