working for almost all themes