fix route error and spec should be passing
fix route error and spec should be passing