customer details refactoring fix