fix unlimited hist