ports fixes