config fixed. returns the ip