fix add ip and then refresh page