Bug correction for BinaryGene