handling fork in red line