making local_settings work, removing some memcache errors