add addr()
optimize log output