fix detection area