Trying to fix Log route error