Fixed incorrect bit index.