fixed winlength command