fix detect area