corrected error in Fork