(fix) working encoding