bugs fixed PegMemo