fix warns on all routes