Fixed isBd issue.