remove react warnings