Avoid changing the global on special pages

Change-Id: I742845badd43cef68ba9f807030d8ea434961fd4
Merge "Avoid changing the global on special pages"