remapped paths to prevent sequence conflicts in middleware execution