tightens device detection