fix bug in name lookup of memory reservation