cleaned up histogram directive
removed obsolete commented code