fix bug  @theme is nil