removed set ip in main