bit number error fixed