Fix not loggin on empty routes