fix bug about postcode not null