Fix an error occurred from a change in routes file