correct debug check