misc/collect.py: fixup type change of variable profiles