fix encoding for ORF