Fix portRange-Bug