fix bugs when create childthemes, codename mixed with themesname