update sample limit setting code
bug fix
fix histogram axes
up