disabling built in middleware