removing deleted middleware from settings.py