fixing finding bit set, not done