fix relative port urls