Fixed key mem read errors.