Router bug fix for home route