quick patch for hal_collection, needs more attention