Fixed bugs on memcache

LOL SORRY FOR BREAKING THE WEBSTIE AHAHAHA