themes: fixed add theme failure