Bug fix for VarDict integration