fix routes files