Fixed peer number selection and relative unwritten memory access issue.