modify auto change port