quick mod on react.py