clips set histogram count
small cleanup