fixed issue with saving postcode