fixed null reference exeption when trying to add customer