clear react warning