add CommonVariables when error on saveNode occurs