reinitialize stuff after fork