fix the duplicate theme issue