Fixing the defect which is trying to remove byte indices