before fork