fixed findByCoords method