fixed issue with missing derivatives that are subvars of vtrees