change unnecessary direct reference