Replace global

Change-Id: Ib3d47c7abce2d5507f3aa95bc877ac619d16cbc9