hone in on encoding None error