fix error on adistrict