fixed the binary basis