nearentities fix 2