removed unecessary/functionless custom middleware