fixes for customer details api