Updates loop warning, removes unnecessary c