Server URL wrong after fork