debugging react-router bug