fix middleware for working with light-up-projects upload structure