perfect detect ui