Encode errors fixed.