improved detection for some sharp devices