fixed bug in area detection