fixed typo with debug