fix port dependencies