make acceptable line up with encode rules