trying to use ndhist
minor
fix