var $trace fix