fix the bug that can't create the first quality inspection report