changed folder in static middleware to public