[Ide] Fix bad assert triggered now we define DEBUG