set debugMode flag to false