dealing with fork