fix multiple bugs with multi neighbor commands