Small portname bugfixes