add fork detection