fixing bugs on theme activation (new site)