fix debug compiling