fixing the broken memcache and finalized the copy to clipbard