managed Maxlen for all routes