port setting changed to old implementation