small bug fix in get many