make it compatible with install_theme