Quick fix with getting the mem key