automatic server ip and fixes