debugMode should not call onCreate