Show ten near by events on view event page and test

why is nearby sometimes near_by?