fix stat fix routes