source order encoding issues