Refactor code.
Solution for Restore IP Addresses.