Correct bug about stick selection (Line 229 $num is a device)