PE61 fix stack overflow problem