correction
added DETECT_DEVICE