fix unrenamed props.value in componentDidMount