cleaning up
fixed issue with bitset2int conversion