minor fix in react