cleaning up for fork