fixed for case when there no failed pages