avoid agent url reset for future upgrade