fix new peer handling