updated trvar and fixed opexp and callexp