debug compile fix