fixed bug in area tool