fix issue on area edit