hardcoding the debug mode looks wrong to me