fix bug in OO memserver