helper script to fix registry ip