[Transparency] add switch to disable the code