critical props.js fix