fix for cab in hist