Fixed so that the test of fork may operate correctly.