BUG: mode debug turned off