fix $getByName