Partial solution for encoding problems in Zehazki