resolve some memory leak issue, inject failure to certain pe for better control