changes before fork