fix issue with humbug code