removed bug in ports