Fix bug in bit hack, and I think the #84 pull request is not good