fixed change port issue