fixed the NULL value bugs in the district and credit card type and the alert pop screen