add local to gloabal subst

Change-Id: I38e6b700b2543b3d1a7e1445e56bac5e08733118