feat(addModifVar): add the handling of custom var