Fix ip address not change problem