fixed decoder bug
notes + refactoring + fix
refactoring + added support for partial translations