remove debug-print
remove ipv6
kickout obsolet function