Fix routes.
Fix log output