1. fix find device bug.