fix debug compile