hotfix for null ports in the start