Fix duplicated method
Fix a bug about that histogram height become zero