fix port printing from %s to %d