fix problem with React1