Fixed bug in Memcache class