fixed isCustomerNull method