fixed id searching, was previously looking for name