fix React instance