fixed portname bug (missing last character)