clean up client detail view