fix port path problem