mage theme clean up