fix for raw collections