add DEBUG macro check, and remove a duplicate word in README.md file