Fixed remove template of theme for developer mode.