temp patch for memcache in session module