Solved bug in Fork()