Fork made better than before

	does not crash on the first run